package com.direct.domian;

import java.util.Date;

/**
 * 员工表
 * 
 * @author Administrator
 * 
 */
public class Employee {
	
	public static final Integer ONJOB = 1;
	public static final Integer DISJOB = 2;
	
	private String id;
	// 账户
	private Account account;
	// 员工号
	private String empno;
	// 名字
	private String ename;
	private String gender;
	private Date birthday;
	// 政治面貌
	private String political;
	// 地址
	private String address;
	private String phone;
	// email
	private String email;
	// 职位
	private String job;
	// 所属配送点
	private String disPoint;
	// 入职时间
	private Date hiredate;
	// 薪水
	private Double sal;
	// 状态1：在职 2：离职
	private Integer state;
	//描述
	private String remark;
	// 图片地址
	private String img;

	public Employee() {
	}

	public Employee(String id) {
		this.id = id;
	}

	public Employee(String id, Account account, String empno, String ename,
			String gender, Date birthday, String political,
			String address, String phone, String email, String job,
			String disPoint, Date hiredate, Double sal, Integer state,
			String remark, String img) {
		this.id = id;
		this.account = account;
		this.empno = empno;
		this.ename = ename;
		this.gender = gender;
		this.birthday = birthday;
		this.political = political;
		this.address = address;
		this.phone = phone;
		this.email = email;
		this.job = job;
		this.disPoint = disPoint;
		this.hiredate = hiredate;
		this.sal = sal;
		this.state = state;
		this.remark = remark;
		this.img = img;
	}

	public Account getAccount() {
		return account;
	}

	public String getAddress() {
		return address;
	}

	public Date getBirthday() {
		return birthday;
	}

	public String getDisPoint() {
		return disPoint;
	}

	public String getEmail() {
		return email;
	}

	public String getEmpno() {
		return empno;
	}

	public String getEname() {
		return ename;
	}

	public String getGender() {
		return gender;
	}

	public Date getHiredate() {
		return hiredate;
	}

	public String getId() {
		return id;
	}

	public String getImg() {
		return img;
	}

	public String getJob() {
		return job;
	}

	public String getPhone() {
		return phone;
	}

	public String getPolitical() {
		return political;
	}

	public String getRemark() {
		return remark;
	}

	public Double getSal() {
		return sal;
	}

	public Integer getState() {
		return state;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public void setDisPoint(String disPoint) {
		this.disPoint = disPoint;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setEmpno(String empno) {
		this.empno = empno;
	}

	public void setEname(String ename) {
		this.ename = ename;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public void setHiredate(Date hiredate) {
		this.hiredate = hiredate;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public void setPolitical(String political) {
		this.political = political;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public void setSal(Double sal) {
		this.sal = sal;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}